#include "negatedconstraint.h"

NegatedConstraint::NegatedConstraint(Constraint * constraint)
	: constraint_(constraint)
{
}

NegatedConstraint::~NegatedConstraint()
{
}

bool NegatedConstraint::consider(const Schedule& schedule)
{
	return ! constraint_->consider(schedule);
}
